ExamPlay Dark Logo
وارد شوید

Computer Science for IGCSE & O level - Programming (Section 11 - No. 27)

In the Totaling example, how is the variable 'TotalWeight' updated?
TotalWeight = Weight
TotalWeight = TotalWeight - Weight
TotalWeight = TotalWeight + Weight
TotalWeight = Weight - TotalWeight

توضیح

TotalWeight accumulates the sum with each iteration.

نظرات (0)

ورود به نظر
تبلیغات
BrainBehindX Inc Logo
©2026; پشتیبانی شده توسط BrainBehindX Inc